import { login } from '@/services/login';

export default {
  namespace: 'test',
  state: {
    name: '张三',
  },
  effects: {
    *login({ payload }, { call }) {
      const res = yield call(login, payload);
      if (res.code === '1') {
      }
    },
  },
  reducers: {},
};
